<div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
    <div class="am-offcanvas-bar admin-offcanvas-bar">
        <ul class="am-list admin-sidebar-list">
            <li><a href="/admin"><span class="am-icon-home"></span> 首页</a></li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav'}"><span class="am-icon-product-hunt am-icon-spin"></span> 商城中心
                    <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav">
                    <li><a href="{{:U('Product/index')}}" class="am-cf"><span class="am-icon-shopping-cart"></span> 商品列表<span
                            class="am-badge am-badge-success am-margin-right am-fr">{{$product_counts}}</span></a></li>
                    <!--<li><a href="{{:U('Product/add')}}"><span class="am-icon-puzzle-piece"></span> 商品管理</a></li>-->
                    <li><a href="{{:U('Category/index')}}"><span class="am-icon-calendar"></span> 分类管理</a></li>
                    <li><a href="{{:U('Gallery/index')}}"><span class="am-icon-photo"></span> 商品相册<span
                            class="am-badge am-badge-secondary am-margin-right am-fr">12</span></a></li>
                    <li><a href="{{:U('Advert/index')}}"><span class="am-icon-adjust"></span> 广告管理<span
                            class="am-badge am-badge-secondary am-margin-right am-fr">{{$advert_counts}}</span></a></li>
                    <li><a href="{{:U('Customer/index')}}"><span class="am-icon-user-secret"></span> 会员管理<span
                            class="am-badge am-badge-secondary am-margin-right am-fr">{{$customer_counts}}</span></a></li>
                    <li><a href="{{:U('Order/index')}}"><span class="am-icon-arrow-circle-o-right"></span> 订单管理<span
                            class="am-badge am-badge-success am-margin-right am-fr">{{$order_counts}}</span></a></li>
                    <li><a href="{{:U('Recycle/index')}}"><span class="am-icon-refresh"></span> 商品回收站<span
                            class="am-badge am-badge-warning am-margin-right am-fr">{{$product_recycles}}</span></a></li>
                </ul>
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-auth'}"><span class="am-icon-gear am-icon-spin"></span> 系统管理
                    <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-auth">
                    <li><a href="{{:U('AuthSet/user_manage')}}"><span class="am-icon-user"></span> 用户管理
                        <span class="am-badge am-badge-success am-margin-right am-fr">{{$user_counts}}</span></a></li>
                    <li><a href="{{:U('AuthSet/group_manage')}}"><span class="am-icon-group"></span> 用户组管理</a></li>
                    <li><a href="{{:U('AuthSet/rule_manage')}}" class="{{$_menu or ''}}"><span class="am-icon-lock"></span> 菜单与权限</a></li>
                </ul>
            </li>
        </ul>

        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div class="am-panel-bd">
                <p><span class="am-icon-bookmark"></span> 公告</p>
                <p>时光静好，与君语；细水流年，与君同。—— Amaze UI</p>
            </div>
        </div>

        <div class="am-panel am-panel-default admin-sidebar-panel">
            <div class="am-panel-bd">
                <p><span class="am-icon-tag"></span> wiki</p>
                <p>Welcome to the Amaze UI wiki!</p>
            </div>
        </div>
    </div>
</div>
